!'use strict';
let workOrderController = require('../../../app/controller/back/report/workOrderController');
workOrderController = ModelProxy(workOrderController);
let router = require('express').Router();

router.get('/page', workOrderController.workOrderPage);
// 告警信息列表
router.post('/list', workOrderController.work_order_List);
// 告警信息-Excel导出
router.post('/export',workOrderController.workOrderExport);
// 切换图表页面
router.get('/work-order-char/page', workOrderController.changeCharPage);
//工单信息-获取图表数据
router.post('/work-order-char/char', workOrderController.getChar);

module.exports = router;
